package com.baikeyang.modules.base;

/**
 * Created by lenovo on 2019/7/22.
 */
public class Resources implements AutoCloseable {

    public void sayHello (String str) {
        System.out.println("This Computer Say: " + str);
    }

    @Override
    public void close() throws Exception {
        //throw new Exception("Exception……");
        System.out.println("Exception is closed");
    }
}
